﻿using System.IO;
using UnityEditor;
using UnityEngine;

[InitializeOnLoad]
class EditorUpdate
{
    static EditorUpdate()
    {
        EditorApplication.update += Update;
    }

    static void Update()
    {
        EditorApplication.update -= Update;

#if UNITY_ANDROID
        //EditorUserBuildSettings.androidBuildSystem = AndroidBuildSystem.Internal;
#endif

        //if (!Directory.Exists("Assets/Plugins/UnityPurchasing/Bin"))
        //{
        //    IAPChecker.CheckItNow();
        //    return;
        //}

        //IAPChecker.CheckItNow();
    }

    public void TEXT1()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }
    public void TEXT2()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }
    public void TEXT3()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT4()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT5()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT6()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT8()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT9()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT10()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT11()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT12()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT13()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT14()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT15()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT16()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }

    public void TEXT17()
    {
        int textNum = 1;
        if (textNum == 1)
        {
            textNum = 2;
        }
    }
}